package com.lhs.exception;

/**
 * 微信公众平台异常，可以拿到异常码errorCode
 * 
 */
public class WxException extends Exception {

	private static final long serialVersionUID = 1L;

	private int errorCode;

	public WxException(int errorCode, String errorMsg) {
		super("weixin api errorCode:" + errorCode + ",error msg:" + errorMsg);
		this.errorCode = errorCode;
	}

	public int getErrorCode() {
		return errorCode;
	}

}
